// pages/playGuide/playGuide.js
const util = require('../../utils/util.js')
const app = getApp()

Page({

  /**
   * 页面的初始数据
   */
  data: {
    global:app.globalData,
    infos:[
      {id:1,name:"游玩攻略|第一期",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:2,name:"大木山茶园景区",name2:"大木山茶园景区",time:"",desc:"游玩攻略：大木山茶园景区"},
      {id:3,name:"松阴溪景区",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:4,name:"黄家大院景区1",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:5,name:"松阴溪景区2",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:6,name:"松阴溪景区3",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:7,name:"松阴溪景区4",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:8,name:"松阴溪景区5",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:9,name:"松阴溪景区6",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:10,name:"松阴溪景区7",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:11,name:"松阴溪景区8",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},
      {id:12,name:"松阴溪景区9",name2:"大木山茶园景区",time:"8:30~17:30",desc:"游玩攻略：大木山茶园景区"},],
    tempUrl:app.globalData.cloudUrl+"guideImg1.png",
    posIconUrl:app.globalData.cloudUrl+"posIcon.png"
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    wx.setNavigationBarTitle({
      title: '游玩攻略',
    });
  },
  onPosClick(e){
    util.gotoMapPage(e);
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})